const ProductService = require("../../services/web/ProductService")

const ProductController = {
  getList:async (req,res) => {
    // 获取列表的接口要将数据返回出去
    const result = await ProductService.getList(req.params.id)
    res.send({
      ActionType:'OK',
      data:result
    })
  }
}

module.exports = ProductController